home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
lisp
/
clue.lha
/
clue
/
doc
/
clue.tex
/
node143_mn.html
< prev
next >
Wrap
Text File
|
1989-07-12
|
3KB
|
90 lines
<H3><A ID="SECTION004111100000000000000"><tex2html_anchor_invisible_mark></A> <A ID="ch:timers"><tex2html_anchor_mark></A><BR>
Timers
</H3><#5084#>
CLUE provides support for animation<A ID="1660"><tex2html_anchor_invisible_mark></A> and other types of
time-sensitive user interfaces via objects
called <#1661#><B>timers</B><#1661#><A ID="1662"><tex2html_anchor_invisible_mark></A>.
A timer is a source of <#1663#><TT>:timer</TT><#1663#> events, inserting them into the event stream
of a <#1664#><TT>contact-display</TT><#1664#> according to a specific time interval. A timer causes
<#1665#><TT>:timer</TT><#1665#> events to be dispatched to a specific contact for processing.
<P>
A <#1666#><TT>:timer</TT><#1666#> event is
defined by CLUE and is represented by an <#1667#><TT>event</TT><#1667#> object with the following
non-<#1668#><TT>nil</TT><#1668#> slot values.
<A ID="1669"><tex2html_anchor_invisible_mark></A>
<P>
<DIV class="CENTER">
<TT></TT><TABLE CELLPADDING=3>
<TR><TD ALIGN="LEFT"><TT>
key </TT></TD>
<TD ALIGN="LEFT"><TT> :timer</TT></TD>
<TD ALIGN="LEFT"><TT></TT></TD>
</TR>
<TR><TD ALIGN="LEFT"><TT>
contact </TT></TD>
<TD ALIGN="LEFT"><TT> </TT><EM>timer contact</EM><TT></TT></TD>
<TD ALIGN="LEFT"><TT></TT></TD>
</TR>
<TR><TD ALIGN="LEFT"><TT>
name </TT></TD>
<TD ALIGN="LEFT"><TT> </TT><EM>timer name</EM><TT></TT></TD>
<TD ALIGN="LEFT"><TT></TT></TD>
</TR>
<TR><TD ALIGN="LEFT"><TT>
data </TT></TD>
<TD ALIGN="LEFT"><TT> </TT><EM>timer data</EM><TT></TT></TD>
<TD ALIGN="LEFT"><TT></TT></TD>
</TR>
<TR><TD ALIGN="LEFT"><TT>
display </TT></TD>
<TD ALIGN="LEFT"><TT> </TT><EM>contact-display</EM><TT>
</TT></TD>
<TD ALIGN="LEFT"><TT></TT></TD>
</TR>
</TABLE><TT>
</TT>
</DIV>
<P>
Timers are abstract ``objects'' that are not actually represented as CLOS class
instances, but instead are defined solely by the following functional
interfaces.
<P>
<#4667#>
<#4320#><FONT SIZE="+1"><#1679#><B>add-timer Function, contact</B><#1679#></FONT><#4320#>
<A ID="1680"><tex2html_anchor_invisible_mark></A>
<A ID="1681"><tex2html_anchor_invisible_mark></A>
<DIV class="RIGHT">
<tex2html_image_mark>#tex2html_wrap_inline10040#
</DIV><#4667#>
<P>
<DIV class="RIGHT">
<A NAME="tex2html204" HREF="#footfnm1" TARGET="footer"><tex2html_image_mark>#tex2html_wrap_inline10043#</A>
</DIV>
<P>
<#4323#><FONT SIZE="+1"><#1703#><B>delete-timer Function, contact</B><#1703#></FONT><#4323#>
<A ID="1704"><tex2html_anchor_invisible_mark></A>
<A ID="1705"><tex2html_anchor_invisible_mark></A>
<DIV class="RIGHT">
<tex2html_image_mark>#tex2html_wrap_inline10045#
</DIV>
<P>
<DIV class="RIGHT">
<tex2html_image_mark>#tex2html_wrap_inline10046#
</DIV>
<P>
<#4326#>
=0 <#5094#>=0 <#5098#>